package com.xinruke.hostels.reservation.interfaces.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @ClassName TeamBookingRoomVO
 * @CreateDate 2019/7/15
 * @Author FengXinQiang
 * @Version V1.0.0.0
 * @Decription 团队预订房间信息VO
 */
@ApiModel("团队预订房间信息VO")
@Data
public class TeamBookingRoomVO {
    @ApiModelProperty(value = "预抵时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @NotNull(message = "预抵时间不能为空")
    private Date ruzhushijian;

    @ApiModelProperty(value = "预离时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @NotNull(message = "预离时间不能为空")
    private Date likaishijian;

    @ApiModelProperty(value = "房间id集合", required = true)
    @NotNull(message = "房间id集合不能为空")
    private List<Integer> fangjianIdList;

    @ApiModelProperty(value = "优惠价", required = true)
    @NotNull(message = "优惠价不能为空")
    private BigDecimal youhuijia;
}
